Ext.define('Usws.view.videoPlayLog.VideoPlayLog', {
    extend: 'Ext.grid.Panel',
    xtype: 'VideoPlayLog-Grid',
    store: 'VideoPlayLog',
    title: '视频点播日志信息',
    selType:'checkboxmodel',//设定选择模式  
    multiSelect:true,//运行多选  
    stateId: 'sysStateGrid',
    layout:'column',
    initComponent: function () {
        this.columns = [
            {text : '视频', width : '10%', sortable : true, dataIndex: 'videoUid', hidden: false}
,{text : '点播人', width : '10%', sortable : true, dataIndex: 'userUid', hidden: false}
,{text : '点播时间', width : '10%', sortable : true, dataIndex: 'playDate', hidden: false}
 ];
        this.bbar= {
            xtype: 'pagingtoolbar',
            store: 'VideoPlayLog',
            pageSize: 16,
            displayInfo: true,
            firstText:'首页',
            prevText:'上一页',
            nextText:'下一页',
            beforePageText:'第',
            afterPageText:'共  {0} 页',
            displayMsg: '显示第 {0} 条到 {1} 条记录，一共 {2} 条', 
            emptyMsg: "没有记录",
            refreshText:'刷新',
            lastText:'未页'
        };
        this.callParent();
    }
});